﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace HARTCalibrationTool.JsonFilesManager
{
    public class JsonPreAndTempCurveInfo
    {
        [JsonProperty(Order = 1)]
        public string Transducer { set; get; }

        [JsonProperty(Order = 2)]
        public string OrderSerialNumber { get; set; }

        [JsonProperty(Order = 3)]
        public bool PressureStatus { get; set; }

        [JsonProperty(Order = 4)]
        public bool TemperatureStatus { get; set; }

        [JsonProperty(Order = 5)]
        public Dictionary<string, Dictionary<string, double>> pressureCurve = new Dictionary<string, Dictionary<string, double>>();

        [JsonProperty(Order = 6)]
        public Dictionary<string, double> temperatureCurve = new Dictionary<string, double>();
    }
    public class JsonPressureTemperatureCurveCof : JsonBase
    {
        public JsonPreAndTempCurveInfo[] curveInfo = null;
        public JsonPressureTemperatureCurveCof()
        {
            JsonInfoInit();
        }

        public bool JsonFileSaveInfo(string filePath)
        {
            //SaveFileDialog fileDialog = new SaveFileDialog();

            var settings = new JsonSerializerSettings
            {
                Formatting = Formatting.Indented,
                NullValueHandling = NullValueHandling.Include,
            };

            var jsonString = JsonConvert.SerializeObject(curveInfo, settings);

            //fileDialog.FileName = fileName;
            //fileDialog.Filter = "JSON file (*.json) | *.json";
            //fileDialog.InitialDirectory = initialDirectory;

            //if (fileDialog.ShowDialog() == DialogResult.OK)
            {
                //initialDirectory = fileDialog.FileName;

                File.WriteAllText(filePath, jsonString);

                return true;
            }
            //else
            {
                //return false;
            }
        }

        private void JsonInfoInit()
        {
            curveInfo = new JsonPreAndTempCurveInfo[32]
            {
                new JsonPreAndTempCurveInfo
                { 
                    Transducer = "变送器1",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1", 
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0}, 
                            }
                        },
                        {
                            "曲线2", 
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0}, 
                            }
                        },
                        {
                            "曲线3", 
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0}, 
                            }
                        },
                        {
                            "曲线4", 
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0}, 
                            }
                        },
                        {
                            "曲线5", 
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0}, 
                            }
                        },
                        {
                            "曲线6", 
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0}, 
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器2",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器3",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器4",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器5",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器6",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器7",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器8",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器9",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器10",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器11",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器12",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器13",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器14",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器15",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器16",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器17",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器18",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器19",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器20",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器21",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器22",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器23",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器24",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器25",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器26",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器27",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器28",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器29",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器30",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器31",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },

                new JsonPreAndTempCurveInfo
                {
                    Transducer = "变送器32",
                    OrderSerialNumber = null,
                    PressureStatus = false,
                    TemperatureStatus = false,

                    pressureCurve = new Dictionary<string, Dictionary<string, double>>
                    {
                        {
                            "曲线1",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线2",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线3",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线4",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线5",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                        {
                            "曲线6",
                            new Dictionary<string, double>
                            {
                                { "x^4", 0.0}, { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                            }
                        },
                    },

                    temperatureCurve = new Dictionary<string, double>
                    {
                        { "x^3", 0.0}, { "x^2", 0.0}, { "x^1", 0.0}, { "x^0", 0.0},
                    }
                },
            };
        }
    }
}
